LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
BeginGetJpipResponse(String,RequestFields,Byte[],AddDatabinCallback,AsyncCallback,Object) Method
See Also 
Leadtools.Jpip.Client Namespace > JpipClient Class > BeginGetJpipResponse Method : BeginGetJpipResponse(String,RequestFields,Byte[],AddDatabinCallback,AsyncCallback,Object) Method



path
A System.String representing the resource to locate at the server. This is usually the image name to locate.
requestFields
A Leadtools.Jpip.RequestFields object which contains the JPIP fields.
postedData
An array of System.Byte that contains data to send in the request body.
addDatabinCallback
A delegate of type AddDatabinCallback to be called whenever a new data-bin is read.
callBack
A System.Delegate to call when this method is completed and a response is received from the server.
state
An System.Object that contains state information for this request.

The BeginGetJpipResponse(String,RequestFields,Byte[],AddDatabinCallback,AsyncCallback,Object) Method includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.

path
A System.String representing the resource to locate at the server. This is usually the image name to locate.
requestFields
A Leadtools.Jpip.RequestFields object which contains the JPIP fields.
postedData
An array of System.Byte that contains data to send in the request body.
addDatabinCallback
A delegate of type AddDatabinCallback to be called whenever a new data-bin is read.
callBack
A System.Delegate to call when this method is completed and a response is received from the server.
state
An System.Object that contains state information for this request.
Makes an asynchronous request to a JPIP server.

Syntax

Visual Basic (Declaration) 
Overloads Public Function BeginGetJpipResponse( _
   ByVal path As String, _
   ByVal requestFields As RequestFields, _
   ByVal postedData() As Byte, _
   ByVal addDatabinCallback As AddDatabinCallback, _
   ByVal callBack As AsyncCallback, _
   ByVal state As Object _
) As IAsyncResult
Visual Basic (Usage)Copy Code
Dim instance As JpipClient
Dim path As String
Dim requestFields As RequestFields
Dim postedData() As Byte
Dim addDatabinCallback As AddDatabinCallback
Dim callBack As AsyncCallback
Dim state As Object
Dim value As IAsyncResult
 
value = instance.BeginGetJpipResponse(path, requestFields, postedData, addDatabinCallback, callBack, state)
C# 
public IAsyncResult BeginGetJpipResponse( 
   string path,
   RequestFields requestFields,
   byte[] postedData,
   AddDatabinCallback addDatabinCallback,
   AsyncCallback callBack,
   object state
)

Parameters

path
A System.String representing the resource to locate at the server. This is usually the image name to locate.
requestFields
A Leadtools.Jpip.RequestFields object which contains the JPIP fields.
postedData
An array of System.Byte that contains data to send in the request body.
addDatabinCallback
A delegate of type AddDatabinCallback to be called whenever a new data-bin is read.
callBack
A System.Delegate to call when this method is completed and a response is received from the server.
state
An System.Object that contains state information for this request.

Return Value

An System.IAsyncResult that references the asynchronous request.

Remarks

To use this method, create a callback method that implements the AsyncCallback delegate and pass its name to the BeginGetJpipResponse method.

The callback method should invoke the EndGetJpipResponse method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Jpip.Clientrequires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features